package com.lagouedu.service;

import org.apache.dubbo.config.annotation.Reference;
import org.springframework.scheduling.annotation.Async;
import org.springframework.stereotype.Component;

@Async("monitorExecutor")
@Component
public class RunTestMonitorServiceImpl implements RunTestMontiorService{

    @Reference
    private DubboMointerService dubboMointerService;
    @Override
    public void doRunMethods() {
        dubboMointerService.methodA();
        dubboMointerService.methodB();
        dubboMointerService.methodC();
    }
}
